<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/common/inc/incSession.jsp" %>
<jsp:include page="/common/inc/Top.jsp" />

<%
	String event_id = util.getStr(request.getParameter("event_id"));
	String status   = util.getStr(request.getParameter("status"));

	//System.out.println("event_id=====" + event_id);
	//System.out.println("status=====" + status);
	
	param.put("event_id", event_id);
	
	HashMap map	 = 	(HashMap)sqlMap.queryForObject("Event.selectEventDetail",param);	//	실행할 SQL ID, 검색조건(없을경우 null)
		
%>

<body>
<br><br><br>


<h1><%= map.get("event_name") %></h1>
<table border="1">
	<tr>
		<td>제품명</td>
		<td><%= map.get("product_name") %></td>
	</tr>
	<tr>
		<td>관련링크</td>
		<td><%= map.get("link") %></td>
	</tr>
	<tr>
		<td>모집인원</td>
		<td><%= map.get("recruit_no") %></td>
	</tr>
	<tr>
		<td>신청기간</td>
		<td><%= map.get("req_fdate") %> ~ <%= map.get("req_tdate") %></td>
	</tr>
	<tr>
		<td>당첨자발표</td>
		<td><%= map.get("win_date") %></td>
	</tr>
	<tr>
		<td>리뷰등록기간</td>
		<td><%= map.get("review_fdate") %> ~ <%= map.get("review_tdate") %></td>
	</tr>
</table>

<div style="border:1px solid black;width:800px;height:100px">
응모방법 이미지
</div>


<div style="border:1px solid black;width:800px;height:100px">
	<ul>
		<li style="border: 1px dotted green; margin: 0px 10px 0px 50px; float: left;">상세설명</li>
		<li style="border: 1px dotted green; margin: 0px 10px 0px 50px; float: left;">신청자 현황</li>
		<li style="border: 1px dotted green; margin: 0px 10px 0px 50px; float: left;">체험리뷰</li>
	</ul>
</div>

status = <%= status %>






	
</body>
</html>